<?php
$config = array(
    "ns"         => "http://musicnet.mspace.fm/person/",
    #"source"     => "../musicnet_export_20110105.xml",
    "source"     => "../musicnet_export_20110114.xml",
    "output_dir" => "/var/www/html/musicnet/codex/web/person/",
    "output_list" => "all_uris.txt",
    "output_void" => "/var/www/html/musicnet/codex/web/void",
    "output_dump" => "/var/www/html/musicnet/codex/web/dump.rdf",
    "catalog_map" => array(
        "blcollection" => "British Library Collection",
        "grove"        => "Grove",
        "rism"         => "RISM",
        "copac"        => "COPAC",
        "musicbrainz"  => "MusicBrainz",
        "dbpedia"      => "DBPedia",
        "bbc"          => "BBC",
        "imdb"         => "IMDB",
        "wikipedia"    => "Wikipedia",
        "pbs"          => "PBS",
        "britannica"   => "Encyclopaedia Britannica",
        "biography"    => "Biography",
    ),
    "bbcquery" => "http://api.talis.com/stores/bbc-backstage/services/sparql?query=SELECT+%3Fx+%3Fmb+WHERE+%7B%3Fx+%3Chttp%3A%2F%2Fpurl.org%2Fontology%2Fmo%2Fmusicbrainz%3E+%3Fmb%7D%0D%0A",
    "urlmatch" => array( # if a link from the bbc starts with the key, the catalog name is set to the value
        "http://dbpedia.org"        => "dbpedia",
        "http://www.pbs.org"        => "pbs",
        "http://www.britannica.com" => "britannica",
    ),
    "predicates" => array(
        array(
            "predicate" => "http://xmlns.com/foaf/0.1/name",
            "catalog"   => "bbc",
            "type"      => "variant",
        ),
        array(
            "predicate" => "http://open.vocab.org/terms/sortLabel",
            "catalog"   => "bbc",
            "type"      => "variant",
        ),
        array(
            "predicate" => "http://purl.org/ontology/mo/image",
            "catalog"   => "bbc",
            "type"      => "image",
        ),
        array(
            "predicate" => "http://purl.org/ontology/mo/biography",
            "catalog"   => "biography",
            "type"      => "link",
        ),
        array(
            "predicate" => "http://purl.org/ontology/mo/wikipedia",
            "catalog"   => "wikipedia",
            "type"      => "link",
        ),
        array(
            "predicate" => "http://purl.org/ontology/mo/imdb",
            "catalog"   => "imdb",
            "type"      => "link",
        ),
        array(
            "predicate" => "http://www.w3.org/2002/07/owl#sameAs",
            "catalog"   => "sameas",
            "type"      => "link",
            "sameas"    => true,
        ),
    ),
);
?>
